/**
 * 
 */
package com.google.code.onlineshopping4j.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.google.code.onlineshopping4j.model.Product;

/**
 * @author TelmilaJ
 *
 */
public interface ProductDAO extends JpaRepository<Product, Long>{

	public List<Product> findByName(String name);
	public List<Product> findByPrice(Double price);

}
